/*
 * @Description: 
 * @Version: 1.0
 * @Author: tao
 * @Date: 2021-01-15 21:34:35
 * @LastEditors: tao
 * @LastEditTime: 2021-03-26 17:33:24
 */
//导入组件
const TProject = () => import('views/teacher/t-project/TProject')
const TPaper = () => import('views/teacher/t-paper/TPaper')
const TPatent = () => import('views/teacher/t-patent/TPatent')
const TTextbook = () => import('views/teacher/t-textbook/TTextbook')
const TScore = () => import('views/teacher/t-score/TScore')
const News = () => import('views/news/News')
const Game = () => import('views/game/Game')
const Project = () => import('views/project/Project')
const System = () => import('views/system/System')
const BBase = () => import('views/base/b-base/BBase')
const BJob = () => import('views/base/b-job/BJob')
const BPractice = () => import('views/base/b-practice/BPractice')
const UAdmin = () => import('views/user/u-admin/UAdmin')
const UStudent = () => import('views/user/u-student/UStudent')
const UTeacher = () => import('views/user/u-teacher/UTeacher')
const PCheck = () => import('views/project/check/PCheck')
const GCheck = () => import('views/game/check/PCheck')

//生成路由表
const routes = [{
  path: '',
  redirect: '/t-paper'
}, {
  path: '/t-project',
  component: TProject,
  name: '教科研项目'
}, {
  path: '/t-paper',
  component: TPaper,
  name: '论文发表'
}, {
  path: '/t-patent',
  component: TPatent,
  name: '专利（著作权）授权'
}, {
  path: '/t-textbook',
  component: TTextbook,
  name: '专著和主编教材'
}, {
  //   path: '/t-score',
  //   component: TScore,
  //   name: '业绩管理'
  // }, {
  path: '/news',
  component: News,
  name: '新闻公告'
}, {
  path: '/b-base',
  component: BBase,
  name: '实习基地管理'
}, {
  path: '/b-job',
  component: BJob,
  name: '招聘会管理'
}, {
  path: '/project',
  component: Project,
  name: '学生项目管理'
}, {
  path: '/game',
  component: Game,
  name: '学生竞赛管理'
}, {
  path: '/system',
  component: System,
  name: '系统设置'
}, {
  path: '/u-teacher',
  component: UTeacher,
  name: '教师用户管理'
}, {
  path: '/u-student',
  component: UStudent,
  name: '学生用户管理'
}, {
  path: '/u-admin',
  component: UAdmin,
  name: '管理员管理'
}, {
  path: "/p-check",
  component: PCheck,
  name: "审核学生项目"
}, {
  path: "/g-check",
  component: GCheck,
  name: "审核学生竞赛"
}, {
  path: "/b-practice",
  component: BPractice,
  name: "学生实习管理"
}]

export default routes